<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0014)about:internet -->
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>trans_window</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <!--Fireworks CS3 Dreamweaver CS3 target.  Created Wed Oct 28 12:33:56 GMT-0700 (Pacific Daylight Time) 2009-->
    </head>
    <body>
        <div id="status_frame">
            <img name="trans_window" src="GUI/images/status_window/status_window.png" width="236" height="154" border="0" id="trans_window" alt="" />
            <div class="status_window_time" id="status_time">
                <script language="JavaScript">
                    /*
Count down until any date script-
By JavaScript Kit (www.javascriptkit.com)
Over 200+ free scripts here!
                     */


                    //change the text below to reflect your own,
                    var before="Christmas!"
                    var current="Today is Christmas. Merry Christmas!"
                    var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")

                    function countdown(yr,m,d,h,min,sec){
                        theyear=yr;themonth=m;theday=d;thehour=h;themin=min;thesec=sec;
                        var today=new Date()
                        var todayy=today.getYear()
                        if (todayy < 1000)
                            todayy+=1900
                        var todaym=today.getMonth()
                        var todayd=today.getDate()
                        var todayh=today.getHours()
                        var todaymin=today.getMinutes()
                        var todaysec=today.getSeconds()
                        var todaystring=montharray[todaym]+" "+todayd+", "+todayy+" "+todayh+":"+todaymin+":"+todaysec
                        futurestring=montharray[m-1]+" "+d+", "+yr+" "+h+":"+min+":"+sec;
                        dd=Date.parse(futurestring)-Date.parse(todaystring)
                        dday=Math.floor(dd/(60*60*1000*24)*1)
                        dhour=Math.floor((dd%(60*60*1000*24))/(60*60*1000)*1)
                        dmin=Math.floor(((dd%(60*60*1000*24))%(60*60*1000))/(60*1000)*1)
                        dsec=Math.floor((((dd%(60*60*1000*24))%(60*60*1000))%(60*1000))/1000*1)
                        if(dday<=0&&dhour<=0&&dmin<=0&&dsec<=0){
                            document.getElementById("message_lost_window").style.display = "block";
                            document.getElementById("message_lost").innerHTML = "You have run out of time, please restart level.";
                            return
                        }
                        else
                            document.getElementById("status_time").innerHTML=dhour+":"+dmin+":"+dsec;
                        setTimeout("countdown(theyear,themonth,theday,thehour,themin,thesec)",1000)
                    }
                </script>
            </div>
            <div class="status_window_data" id="status_data_money">
	5,000
            </div>
            <div class="status_window_data" id="status_data_point">
	0
            </div>
<!-- Hide for now start
            <!--Player--
            <div id="status_player_image">
                <img src="GUI/images/status_window/player_default.png" width="58" height="58" border="0" id="status_player_image" alt="" />
            </div>
            <div id="status_player_level">
                <img src="GUI/images/status_window/level_1.png" width="43" height="53" border="0" id="status_player_level" alt="" />
            </div>
            <div class="status_window_player_name" id="status_player_name">
	Player Name
            </div>
            <div id="status_window_dot_1">
                <img src="GUI/images/status_window/dot.png" width="6" height="6" border="0" id="dot" alt="" />
            </div>
            <div class="status_window_player_data" id="status_player_rank">
	Rank: 1047
            </div>

            <!--Seperator--
            <div id="status_window_seperator">
                <img src="GUI/images/status_window/vs.png" width="126" height="20" border="0" id="status_window_seperator" alt="" />
            </div>

            <!--Competitor--
            <div id="status_competitor_image">
                <img src="GUI/images/status_window/player_default.png" width="58" height="58" border="0" id="status_competitor_image" alt="" />
            </div>
            <div id="status_competitor_level">
                <img src="GUI/images/status_window/level_4.png" width="43" height="53" border="0" id="status_competitor_level" alt="" />
            </div>
            <div class="status_window_player_name" id="status_competitor_name">
	Competier Name
            </div>
            <div id="status_window_dot_2">
                <img src="GUI/images/status_window/dot.png" width="6" height="6" border="0" id="dot" alt="" />
            </div>
            <div class="status_window_player_data" id="status_competitor_rank">
	Rank: 16
            </div>
Hide for now ends -->
        </div>
    </body>
</html>
